<template>
  <div class="dashboard-container">
    <!-- <div class="dashboard-text">name: {{ name }}</div> -->
    <el-card>
      <AddEcharts />
    </el-card>
    <el-card>
      <div class="haha"><AddBing /></div>
    </el-card>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import AddEcharts from './components/add-echarts.vue'
import AddBing from './components/add-bing.vue'
export default {
  name: 'Dashboard',
  components: { AddEcharts, AddBing },
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
.el-card {
  float: left;
  height: 300px;
  margin-right: 15px;
}

</style>
